package com.cskaoyan.service;

import com.cskaoyan.bean.MarketChannelData;
import com.cskaoyan.bean.MarketOrder;
import com.cskaoyan.bean.MarketOrderGoods;
import com.cskaoyan.bean.MarketOrderGoodsData;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.common.OrderPageInfo;
import com.cskaoyan.bean.order.OrderDetail;

import com.cskaoyan.bean.goods.bo.CommentBo;
import com.cskaoyan.bean.order.WxComment;


import java.math.BigDecimal;

public interface OrderService {

    CommonData<MarketOrder> query(OrderPageInfo info);

    MarketOrderGoodsData detail(int id);

    void refund(Integer orderId, BigDecimal refundMoney);

    void ship(MarketOrder marketOrder);

    void delete(Integer orderId);


    CommonData<MarketOrder> wxQuery(OrderPageInfo info);

    OrderDetail wxDetail(Integer orderId);

    void wxRefund(Integer orderId);

    void commentReply(CommentBo commentBo);

    void wxDelete(Integer orderId);

    void wxConfirm(Integer orderId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    void insertOrderComment(WxComment comment);

    void wxCancel(Integer orderId);


    // MarketChannelData channel();
}
